module.exports = function(router){
	router.map({
		"/":{
			component:require("../views/admin/article-list.vue")
		},
		"/articleForm":{
			component:require("../views/admin/article-form.vue")
		},
		"/articleList":{
			component:require("../views/admin/article-list.vue")
		},
		"/articleEdit":{
			component:require("../views/admin/article-form.vue")
		},
		"/informationSetting":{
			component:require("../views/admin/information-setting.vue")
		},
		"/columnList":{
			component:require("../views/admin/column-list.vue")
		},
		"/addColumn":{
			component:require("../views/admin/column-form.vue")
		},
		"/columnEdit":{
			component:require("../views/admin/column-form.vue")
		}
	});
	router.beforeEach(function(){
		window.scrollTo(0,0);
	})
}
